//
//  ZSBContactInfo.h
//  HCNewGoldFinger
//
//  Created by zjhcsoft on 14-10-14.
//  Copyright (c) 2014年 zjhcsoftios. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef enum {
    ZSBContactTypeCompany = 0,
    ZSBContactTypeUser = 1
}ZSBContactType;

@interface ZSBContactInfo : NSObject

@property (nonatomic, assign) ZSBContactType contactType; //类型 (单位,个人)

@property (nonatomic, assign) NSInteger level; //层级

@property (nonatomic, assign) BOOL isExpansion; //是否展开

@property (nonatomic, strong) NSString *companyId; //单位ID

@property (nonatomic, strong) NSNumber *sysCompanyRowId; //关联ID

@property (nonatomic, strong) NSString *companyName; //单位名字

@property (nonatomic, strong) NSString *userName; //个人姓名

@property (nonatomic, strong) NSNumber *sysUserRowId; //个人ID

@property (nonatomic, strong) NSString *headImgUrl; //个人头像

@property (nonatomic, strong) NSString *staName; //个人职位

@property (nonatomic, strong) NSString *companyDefineCd; //个人职位

@property (nonatomic, strong) NSMutableArray *subContactInfoList; //子节点

+ (ZSBContactInfo *)readFromDic:(NSDictionary *)dic;

@end
